<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>管理员查询</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/admin_index.css}">
</head>
<body>
    <table class="table_list">
        <tr class="title">
            <th>编号</th>
            <th>用户名</th>
            <th>密码</th>
            <th colspan="2">操作</th>
        </tr>
        <th:block th:each="admin : ${adminList}">
            <tr>
                <td th:text="${admin.id}"></td>
                <td th:text="${admin.username}"></td>
                <td>*******</td>
                <td><a th:href="@{/admin/toUpdate/{id}(id=${admin.id})}">修改</a></td>
                <td><a th:href="@{/admin/toDelete/{id}(id=${admin.id})}">删除</a></td>
            </tr>
        </th:block>
    </table>
</body>
</html>